package cn.tedu.charging.order.mqtt;


import cn.tedu.charging.order.dao.repository.ChargingProcessRepository;
import cn.tedu.charging.order.dao.repository.OrderRepository;
import cn.tedu.charging.order.feign.CostClient;
import cn.tedu.charging.order.feign.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MqttContext {

    @Autowired
    private OrderRepository orderRepository;

    @Autowired
    private CostClient costClient;

    @Autowired
    private UserClient userClient;

    @Autowired
    private ChargingProcessRepository chargingProcessRepository;

    public OrderRepository getOrderRepository() {
        return orderRepository;
    }


    public CostClient getCostClient() {
        return costClient;
    }



    public UserClient getUserClient() {
        return userClient;
    }



    public ChargingProcessRepository getChargingProcessRepository() {
        return chargingProcessRepository;
    }


}
